package com.example.dbmysql.service;


import com.example.dbmysql.pojo.User;

public interface UserService {

    // 更具用户名查询用户
    User findByUserName(String username);
        // 注册用户
        void register(String username, String password);

    User update(User user);

    void delUserById(User user);
}
